package xyz.poke.business.tool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 单据信息扩展表后续扩展使用
 * </p>
 *
 * @author 迫壳
 * @since 2024-03-02
 */
@TableName("t_order_ext")
public class OrderExt implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 单据id
     */
    private Long orderId;

    /**
     * 业务编码
     */
    private String code;

    /**
     * 业务值
     */
    private String value;

    /**
     * 创建日期
     */
    private LocalDateTime gmtCreated;

    /**
     * 修改日期
     */
    private LocalDateTime gmtModified;

    /**
     * 创建人id
     */
    private String userCreated;

    /**
     * 创建人名称
     */
    private String userCreatedName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public LocalDateTime getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(LocalDateTime gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getUserCreated() {
        return userCreated;
    }

    public void setUserCreated(String userCreated) {
        this.userCreated = userCreated;
    }

    public String getUserCreatedName() {
        return userCreatedName;
    }

    public void setUserCreatedName(String userCreatedName) {
        this.userCreatedName = userCreatedName;
    }

    @Override
    public String toString() {
        return "OrderExt{" +
        "id=" + id +
        ", orderId=" + orderId +
        ", code=" + code +
        ", value=" + value +
        ", gmtCreated=" + gmtCreated +
        ", gmtModified=" + gmtModified +
        ", userCreated=" + userCreated +
        ", userCreatedName=" + userCreatedName +
        "}";
    }
}
